package com.sss.hloster04;
import java.util.Scanner;
public class TestEx01 {

	public static void main(String[] args) {
		
            test02();
	}
	private static void test02() {
		int m=383;
		int  N=4304;
		double R=0.99;
		double a=0.00;
		double n=0.00;
		//Scanner input = new Scanner(System.in);
		//System.out.print("请输入  m ：");
		//m = input.nextInt();
		//System.out.print("请输入  N ：");
		//N = input.nextInt();
		//System.out.print("请输入  R ：");
		//R = input.nextInt();
		for ( ; a <= 100000; a+=0.001) {
			
			for (; n <= 100000; n+=0.001) {
				if((a/n)==R*(m-a)/(N-n)) {
					
				
				System.out.println("a的值为 ：" + a );
				System.out.print("n的值为 ：" + n  );
				}
			}
			
		}
		//(a)=R*(m-a)/(N-n)*n;
		


	}
}
